package Listener;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import Model.ListeUtilisateur;

public class LPopupSupp implements MouseListener {
	
	ListeUtilisateur _listUser;
	int _rowSelected;

	public LPopupSupp(ListeUtilisateur listUser, int rowSelected) {
		_listUser = listUser;
		_rowSelected = rowSelected;
	}

	@Override
    public void mousePressed(MouseEvent e){ 
    	_listUser.supprimerUtilisateur(_rowSelected);
    } 
 
    @Override
    public void mouseReleased(MouseEvent e){ 
    	// TODO Auto-generated method stub
		
    } 

	@Override
	public void mouseClicked(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseEntered(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseExited(MouseEvent e) {
		// TODO Auto-generated method stub
		
	} 
} 
